package com.bwhx.eruler.service.casdilly.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.bean.casdilly.SizeRule;
import com.bwhx.eruler.bean.casdilly.SizeRuleHK;
import com.bwhx.eruler.dao.casdilly.SizeRuleHKDAO;
import com.bwhx.eruler.service.casdilly.SizeRuleHKService;

@Service
public class SizeRuleHKServiceImpl implements SizeRuleHKService {
	
	@Autowired
	SizeRuleHKDAO sizeRulerHKDAO;
	
	



	@Override
	public List<SizeRuleHK> list(Page p) {
		return sizeRulerHKDAO.list(p);
	}



	@Override
	public Integer count(SizeRuleHK SizeRule) {
		return sizeRulerHKDAO.count(SizeRule);
	}



	@Override
	public void insert(SizeRuleHK SizeRule) {
		sizeRulerHKDAO.insert(SizeRule);
	}



	@Override
	public void update(SizeRuleHK sizeRule) {
		sizeRulerHKDAO.update(sizeRule);
		
	}



	@Override
	public void delete(SizeRuleHK sizeRuleHK) {
		sizeRulerHKDAO.delete(sizeRuleHK);
		
	}



	


	@Override
	public SizeRuleHK findConflict(SizeRuleHK sizeRuleHK) {
		 return sizeRulerHKDAO.findConflict(sizeRuleHK);
	}






	
}
